.SpaceBotWrap {
  position: relative;
  display: inline-block;
  width: 568px;
  height: calc(100vh - 50px);
  text-align: right;
  animation: minBotFrame2 0.3s forwards ease-in-out;
  &.minBotWrap {
    animation: minBotFrame 0.8s forwards ease-in-out;
  }

  @keyframes minBotFrame {
    0% {
      width: 568px;
    }
    100% {
      width: 80px;
    }
  }
  @keyframes minBotFrame2 {
    0% {
      width: 80px;
    }
    100% {
      width: 568px;
    }
  }
  .botAvatarBox {
    position: relative;
    z-index: 50;
    display: inline-block;
    box-sizing: border-box;
    width: 80px;
    padding: 10px 12px 0 0;
    overflow: hidden;
    border-radius: 100px;
    cursor: pointer;
    .botAvatar {
    }
  }
  .SpaceBotBox {
    position: absolute;
    top: 42px;
    right: 37px;
    box-sizing: border-box;
    width: calc(100% - 37px);
    height: calc(100vh - 162px);
    padding: 52px 0px 35px 24px;
    text-align: left;
    background: rgba(240, 248, 255, 0.7);
    border: 1px solid rgba(0, 117, 255, 0.19);
    border-radius: 10px;
    box-shadow: 3px 2px 34px 0px rgba(61, 68, 133, 0.15);
    backdrop-filter: blur(7px);

    .SpaceBotTitle {
      position: absolute;
      top: 0;
      left: 0;
      box-sizing: border-box;
      width: 100%;
      height: 52px;
      padding-left: 31px;
      color: #3e4352;
      font-weight: 600;
      font-size: 16px;
      font-family: PingFangSC-Semibold, PingFang SC;
      line-height: 52px;
      background: #fdfefe;
      border-radius: 20px 20px 0 0;
      box-shadow: 0px 2px 4px 0px rgba(25, 26, 43, 0.1);
    }
    &.expendBot {
      overflow: hidden;
      animation: botMove 0.6s forwards ease-in-out;
    }
    &.collapseBot {
      overflow: hidden;
      animation: botMove2 0.6s forwards ease-in-out;
    }
    @keyframes botMove {
      0% {
        width: calc(100% - 37px);
        height: calc(100vh - 162px);
      }

      100% {
        width: 0;
        height: 0;
        padding: 0;
      }
    }
    @keyframes botMove2 {
      0% {
        width: 0;
        height: 0;
        padding: 0;
      }

      100% {
        width: calc(100% - 37px);
        height: calc(100vh - 162px);
      }
    }
  }
  .InputModeWrap {
    width: 100%;
    height: 100%;
    .InputModeMain {
      box-sizing: border-box;
      width: 100%;
      height: calc(100% - 46px);
      padding-right: 24px;
      overflow: auto;
      &.miniHei {
        height: calc(100% - 92px);
      }
      & > div:nth-of-type(1) {
        margin-top: 35px;
      }
      .ModelListCommon();
      .spaceBotSystemRecover {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 20px;
        //系统回复
        .recoverContent {
          width: auto;
          height: auto;
          padding: 12px 20px;
          color: #3e4352;
          font-weight: 400;
          font-size: 14px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 22px;
          overflow-wrap: break-word;
          background: #ffffff;
          border-radius: 0 10px 10px;
        }
      }
      //大脑空间 赞踩 文案
      .spaceZanCaiBox {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 20px;
        .zanCaiUserCommandBox {
          display: flex;
          align-content: center;
          align-items: center;
          justify-content: flex-end;
          width: 100%;
          margin-right: 0;
          margin-left: 12%;
          .zanCaiUserCommand {
            width: auto;
            height: auto;
            padding: 12px 20px;
            color: #ffffff;
            font-weight: 400;
            font-weight: 400;
            font-size: 14px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-family: PingFangSC-Regular, PingFang SC;
            line-height: 22px;
            overflow-wrap: break-word;
            background: #36446d;
            border-radius: 0 10px 10px;
            border-radius: 10px 0 10px 10px;
          }
        }
        .spaceCommandZanCaiBox {
          display: inline-flex;
          align-content: center;
          align-items: center;
          justify-content: flex-start;
          box-sizing: border-box;
          width: auto;
          height: 36px;
          margin: 6px 0 0;
          padding: 0 11px;
          line-height: 36px;
          background: #36446d;
          border-radius: 4px;
          .spaceCommandZanCai-hd {
            display: inline-block;
            width: 30px;
            height: 26px;
            margin: 0 10px 0 0px;
            line-height: 26px;
            text-align: center;
            background: #fff;
            border-radius: 4px;
            .anticon {
              width: 30px;
              margin: 0 auto;
              text-align: center;
              svg {
                margin: 0 auto;
              }
            }
          }
          .spaceCommandZanCai-bd {
            width: auto;
            span {
              display: -webkit-box;
              overflow: hidden;
              text-overflow: ellipsis;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
            }
          }
        }
      }
    }
    .InputModeBottomWrap {
      height: auto;
      .InputModeBottom {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        width: calc(100% - 24px);
        height: 46px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 20px 0px rgba(60, 62, 68, 0.05);
        .InputModeSelectBox {
          width: auto;
          margin-left: 14px;
          text-align: left;
          background: #dfecf9;
          border-radius: 3px;
          .commandTypeTag {
            display: inline-block;
            width: auto;
            height: 24px;
            padding: 0 10px;
            color: #3e4352;
            font-weight: 400;
            font-size: 14px;
            font-family: PingFangSC-Regular, PingFang SC;
            line-height: 24px;
            background: #f3f3f8;
            border-radius: 3px;
            &.cyan {
              background: #dff7ed;
            }
            &.red {
              background: rgba(245, 112, 112, 0.2);
            }
          }
        }
        .InputModeInputBox {
          flex: 1;
        }
        .InputModeBtnBox {
          width: 30px;
          margin: 0 8px;
          cursor: pointer;
        }
      }
      .InputZancaiBox {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        width: calc(100% - 24px);
        height: 34px;
        margin: 10px 0 0;
        padding: 0 10px;
        color: #3e4352;
        font-weight: 400;
        font-size: 13px;
        font-family: PingFangSC-Regular, PingFang SC;
        line-height: 34px;
        vertical-align: middle;
        background: #e0e8f0;
        border-radius: 5px;
        .InputZancai-hd {
          display: inline-block;
          flex: 1;
          vertical-align: middle;
          span {
            display: -webkit-box;
            width: 100%;
            height: 34px;
            overflow: hidden;
            line-height: 34px;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
          }
        }
        .InputZancai-bd {
          width: auto;
          margin: 0 10px;
          vertical-align: middle;
          cursor: pointer;
        }
      }
    }
  }
  .HandleModeWrap {
    width: 100%;
    height: 100%;

    .HandleModeReturn {
      width: 100%;
      height: 36px;
      margin-top: 15px;
      margin-bottom: 15px;
      .ant-btn {
        width: 36px;
        height: 36px;
      }
    }
    .HandleModeMain {
      box-sizing: border-box;
      width: 100%;
      height: calc(100% - 86px);
      padding-right: 24px;
      overflow: auto;
      &.miniHandleModeMain {
        height: calc(100% - 300px);
      }
      .ModelListCommon();
      .fileInfoBox {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        .fileInfo-hd {
          width: auto;
          margin-right: 10px;
          .anticon {
            color: #397bff;
            font-size: 36px;
          }
        }
        .fileInfo-bd {
          width: auto;
          .fileName {
            display: block;
            color: #3e4352;
            font-weight: 500;
            font-size: 14px;
            font-family: PingFangSC-Medium, PingFang SC;
            line-height: 22px;
          }
          .fileState {
            display: block;
            color: #3e4352;
            font-weight: 400;
            font-size: 14px;
            font-family: PingFangSC-Regular, PingFang SC;
            line-height: 22px;
          }
        }
      }
      .handleFormBox {
        width: 100%;
        padding-bottom: 20px !important;
        background: #dfecf9 !important;
        border: 1px solid #b7d9ff !important;
        border-radius: 10px;
        .ant-form-item {
          margin-bottom: 0;
          &:nth-last-child(1) {
            .ant-form-item-row {
              padding-bottom: 5px;
              border-bottom: none;
            }
          }
          .ant-form-item-row {
            padding-bottom: 20px;
            border-bottom: 1px dashed rgba(151, 151, 151, 0.37);
          }
          .ant-form-item-label {
            margin-top: 5px;
            color: #3e4352;
            font-weight: 600;
            font-size: 16px;
            font-family: PingFangSC-Semibold, PingFang SC;
            line-height: 29px;
          }
          .ant-radio-button-wrapper {
            height: 38px;
            margin-right: 6px;
            margin-bottom: 10px;
            line-height: 38px;
            border-left-width: 1px;
            border-radius: 6px;
            &::before {
              display: none;
            }
          }
          .ant-checkbox-wrapper {
            height: 38px;
            line-height: 38px;
            background: #ffffff;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            cursor: pointer;
            &.ant-checkbox-wrapper-checked {
              color: #40a9ff;
              border: 1px solid #40a9ff;
            }
            .ant-checkbox {
              display: none;
            }
          }
        }
        .switchLable {
          display: flex;
          flex-direction: inherit;
          align-content: center;
          align-items: center;
          justify-content: flex-start;
          width: 100%;
          .ant-form-item-row {
            display: flex;
            flex-direction: row;
            align-content: center;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            .ant-form-item-control {
              display: inline-block;
              flex-grow: inherit;
              width: auto;
              margin-right: 10px;
              .ant-form-item-control-input-content {
                width: 50px;
              }
            }
            .ant-form-item-label {
              display: inline-block;
              order: 1;
              width: auto;
            }
          }
        }
      }
    }
    .HandleModeBottom {
      width: 100%;
      height: 46px;
      text-align: center;
      &.bigHandleModeBottom {
        height: 260px;
      }
    }
  }
}
// 定义一个混合（mixin）包含共享样式
.ModelListCommon() {
  /* 配置滚动条的轨道 */
  &::-webkit-scrollbar {
    width: 5px; /* 调整滚动条的宽度 */
  }

  /* 配置滚动条的滑块 */
  &::-webkit-scrollbar-thumb {
    background: rgba(0, 117, 255, 0.19);
    border-radius: 20px; /* 调整滚动条滑块的圆角 */
  }

  /* 配置滚动条的轨道背景 */
  &::-webkit-scrollbar-track {
    background-color: transparent; /* 调整滚动条轨道的背景颜色 */
  }
  .modeListBox {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 13px;
    color: #3e4352;
    font-weight: 400;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    line-height: 29px;
    border-radius: 10px;
    &.bgwhite {
      background: #ffffff;
    }
    &.autoWidth {
      display: inline-block;
      width: auto;
      margin-right: 50px;
    }
    &.userIptBox {
      justify-content: flex-end;
      .modeList {
        margin-left: 50px;
        background: #b7d9ff;
      }
    }
    .modeList {
      box-sizing: border-box;
      padding: 11px 21px;
      background: #ffffff;
      border-radius: 10px;
      &.widthFlex {
        width: 100%;
      }
      &.marR90 {
        margin-right: 90px;
      }
      p {
        margin-bottom: 0;
      }
    }
    .targetResultBox {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      &:nth-last-child(1) {
        margin-bottom: 15px;
      }
      .targetResult-hd {
        width: 120px;
        height: 29px;
        margin: 0 20px 0 0px;
        color: #3e4352;
        font-weight: 500;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        line-height: 29px;
      }
      .targetResult-bd {
        height: 29px;
        color: #397bff;
        font-weight: normal;
        font-size: 14px;
        font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
        line-height: 29px;
        cursor: pointer;
      }
    }
    .modeListTitle {
      height: 35px;
      color: #3e4352;
      font-weight: 600;
      font-size: 18px;
      font-family: PingFangSC-Semibold, PingFang SC;
      line-height: 35px;
    }
    .modeTrainBox {
      width: auto;
      margin-left: 20px;
      .ant-btn {
        height: 51px;
        background: #397bff;
        border-radius: 10px;
      }
    }
  }
  .sourceWrap {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    .sourceBox {
      box-sizing: border-box;
      width: calc(100% - 50px);
      margin-right: 50px;
      margin-bottom: 20px;
      padding: 12px 20px;
      color: #ffffff;
      background: #36446d !important;
      border-radius: 10px;
      .sourceTopBox {
        width: 100%;
        padding-bottom: 10px;
        font-size: 14px;
        line-height: 22px;
        text-align: justify;
        word-break: break-all;
        .ptwo {
          display: -webkit-box;
          overflow: hidden;
          word-break: break-all;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
      }
      .sourceBottomBox {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 30px;
        padding-top: 10px;
        line-height: 30px;
        border-top: 1px dashed #dae5fa;
        .sourceBottomBox-hd {
          display: -webkit-box;
          flex: 1;
          margin-right: 10px;
          overflow: hidden;
          color: #adb0ba;
          text-overflow: ellipsis;
          -webkit-line-clamp: 1; /* 显示的行数 */
          -webkit-box-orient: vertical;
        }
        .sourceBottomBox-bd {
          width: auto;
          color: #397bff;
          cursor: pointer;
        }
        .sourceBottomBox-avatar {
          width: auto;
          margin-right: 10px;
          color: #397bff;
          cursor: pointer;
          img {
            margin-top: -5px;
            vertical-align: middle;
          }
        }
      }
    }
    .sourceBox {
      width: calc(100% - 90px);
      margin-right: 0px;
    }
    .copy-sourceBox {
      width: 90px;
      margin: -20px 0px 0 5px;
      vertical-align: middle;
      img {
        cursor: pointer;
      }
      .ant-btn {
        width: auto;
        height: auto;
        // display: none;
        margin: 0 10px;
        background: transparent;
        border: none;
      }
    }
  }
  .recommendBox {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: calc(100% - 90px);
    margin-right: 50px;
    margin-bottom: 20px;
    padding: 12px 20px;
    color: #ffffff;
    background: #36446d;
    border-radius: 10px;
    .recommend-hd {
      flex: 1;
    }
    .recommend-bd {
      width: auto;
    }
  }
  //点踩反馈列表
  .feedbackReasonsWrap {
    display: flex;
    align-content: center;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    margin-bottom: 20px;
    .feedbackReasonsBox {
      width: auto;
      height: auto;
      padding: 12px 20px;
      color: #3e4352;
      font-weight: 400;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      line-height: 22px;
      overflow-wrap: break-word;
      background: #36446d !important;
      border-radius: 0px 6px 6px 6px;
      .feedbackReasonsTitle {
        height: 22px;
        margin-bottom: 10px;
        color: #ffffff;
        font-weight: 400;
        font-size: 14px;
        font-family: PingFangSC, PingFang SC;
        line-height: 22px;
      }
      .feedbackReasonsListBox {
        width: 100%;
        .feedbackReasonsList {
          width: auto;
          margin-bottom: 10px;
          padding: 6px 20px;
          color: #ffffff;
          font-weight: 400;
          font-size: 14px;
          font-family: PingFangSC, PingFang SC;
          line-height: 33px;
          line-height: 20px;
          background: rgba(57, 123, 255, 0.1);
          border: 1px solid rgba(57, 123, 255, 0.26);
          border-radius: 0px 100px 100px 100px;
          cursor: pointer;
        }
      }
      .feedbackReasonsFoot {
        height: 17px;
        color: #ffffff;
        font-weight: 400;
        font-size: 12px;
        font-family: PingFangSC, PingFang SC;
        line-height: 17px;
      }
    }
  }
}
.spaceSourceBottomBox {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 30px;
  padding-top: 10px;
  line-height: 30px;
  border-top: 1px dashed #dae5fa;
  .spaceSourceBottomBox-hd {
    display: -webkit-box;
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    color: #adb0ba;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1; /* 显示的行数 */
    -webkit-box-orient: vertical;
  }
  .spaceSourceBottomBox-bd {
    width: auto;
    color: #397bff;
    cursor: pointer;
  }
}
.autoWidth50 {
  width: calc(100% - 50px) !important;
  margin-right: 50px;
  .modeList {
    width: 100% !important;
  }
}
.spaceSource {
  padding: 0px 0 10px;
}
.ptwo2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.articleSourceModal2 {
  // width: 843px;
  // height: calc(100% - 30px);
  // width: 50vw !important;
  // min-width: 720px !important;
  // max-width: 1600px !important;
  .ant-modal-body {
    // max-height: 60vh !important;
    height: 673px;
    padding-right: 10px;
    overflow-y: auto !important;
    p {
      color: #3e4352;
      font-weight: 500;
      font-size: 14px;
      font-family: PingFangSC-Medium, PingFang SC;
      line-height: 28px;
      text-align: left;
    }
  }
  .ant-modal-content {
    padding: 20px 30px;
  }
  .ant-modal-title {
    margin: 20px 20px 35px 0px;
  }
}
.departmenArticleSourceModal {
  // width: 843px;
  // height: calc(100% - 30px);
  // width: 50vw !important;
  // min-width: 720px !important;
  // max-width: 1600px !important;
  .ant-modal-body {
    // max-height: 60vh !important;

    .modalBodyRef {
      height: 673px;
      padding-right: 10px;
      overflow-y: auto !important;
      line-height: 28px;
      p {
        color: #ffffff;
        font-weight: 500;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        line-height: 28px;
        text-align: left;
      }
      .highlightCon {
        width: auto;
        margin-right: 5px;
        margin-bottom: 10px;
        padding: 5px 10px;
        color: #6e94ff;
        font-weight: 600;
        font-size: 12px;
        font-family: PingFangSC, PingFang SC;
        background: rgba(57, 123, 255, 0.2);
        border-radius: 4px;
      }
    }
  }
  .ant-modal-footer {
    font-size: 14px;
    .bootomInfo {
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      overflow: hidden;
      font-size: 14px;
    }
    .bootomInfo-hd {
      display: inline-block;
      width: auto;
      margin-right: 10px;
    }
    .bootomInfo-bd {
      display: -webkit-box;
      flex: 1;
      color: #397bff;
      text-align: left;
      text-overflow: ellipsis;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }
  }
  .ant-modal-header {
    color: #ffffff !important;
    background: #313346 !important;
  }
  .ant-modal-content {
    padding: 20px 30px;
    color: #ffffff !important;
    background: #313346 !important;
    border-radius: 10px;
    box-shadow: 0px 9px 56px 0px rgba(0, 0, 0, 0.5), 0px 13px 36px 0px rgba(54, 60, 81, 0.15);
  }
  .ant-modal-close-x {
    color: #fff;
  }
  .ant-modal-title {
    margin: 20px 20px 35px 0px;
    color: #ffffff !important;
    background: #313346 !important;
  }
  .articleDetailTitleBox {
    color: #ffffff !important;
    background: #313346 !important;
    .articleDetailTitle {
      min-height: 28px;
      margin: 10px 0 20px;
      font-weight: bold;
      font-size: 24px;
      font-family: OPPOSans-30, OPPOSans-30;
      line-height: 28px;
    }
    .articleDetailTag {
      display: inline-block;
      width: auto;
      margin-bottom: 12px;
      margin-left: 5px;
      padding: 5px 18px;
      color: #6e94ff !important;
      font-weight: 600;
      font-size: 12px;
      font-family: PingFangSC, PingFang SC;
      background: rgba(57, 123, 255, 0.2) !important;
      border-radius: 4px;
    }
  }
}
.zancaiHandleTag {
  .anticon {
    margin-right: 20px;
  }
}
